package net.wangds.auth.module;

import net.wangds.data.OrderWeight;
import net.wangds.data.WithIdAndCreatInfo;

import java.util.List;

public interface Role extends WithIdAndCreatInfo<String>, OrderWeight, GrantTarget, GrantOwner {
    String getAvatar();

    void setAvatar(String avatar);

    String getRoleName();

    void setRoleName(String roleName);

    String getRoleDesc();

    void setRoleDesc(String roleDesc);


    List<Grant> getPrivileges();

    void setPrivileges(List<Grant> privileges);

    String getRoleCode();

    void setRoleCode(String roleCode);
}
